package cn.two.model;

import java.util.HashSet;
import java.util.Set;

/**
 * OaUser entity. @author MyEclipse Persistence Tools
 */

public class OaUser implements java.io.Serializable {

	// Fields

	private Integer userId;
	private OaDept oaDept;
	private OaUserdetil oaUserdetil;
	private OaRoot oaRoot;
	private String userName;
	private String userPwd;
	private String userLevle;
	private String userUsername;
	

	// Constructors

	/** default constructor */
	public OaUser() {
	}

	/** full constructor */
	public OaUser(OaDept oaDept, OaUserdetil oaUserdetil, OaRoot oaRoot,
			String userName, String userPwd, String userLevle,
			String userUsername) {
		this.oaDept = oaDept;
		this.oaUserdetil = oaUserdetil;
		this.oaRoot = oaRoot;
		this.userName = userName;
		this.userPwd = userPwd;
		this.userLevle = userLevle;
		this.userUsername = userUsername;
		
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public OaDept getOaDept() {
		return this.oaDept;
	}

	public void setOaDept(OaDept oaDept) {
		this.oaDept = oaDept;
	}

	public OaUserdetil getOaUserdetil() {
		return this.oaUserdetil;
	}

	public void setOaUserdetil(OaUserdetil oaUserdetil) {
		this.oaUserdetil = oaUserdetil;
	}

	public OaRoot getOaRoot() {
		return this.oaRoot;
	}

	public void setOaRoot(OaRoot oaRoot) {
		this.oaRoot = oaRoot;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPwd() {
		return this.userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public String getUserLevle() {
		return this.userLevle;
	}

	public void setUserLevle(String userLevle) {
		this.userLevle = userLevle;
	}

	public String getUserUsername() {
		return this.userUsername;
	}

	public void setUserUsername(String userUsername) {
		this.userUsername = userUsername;
	}


}